import Vue from 'vue'
import Router from 'vue-router'


Vue.use(Router)

const Worldcloud = require('../components/cloud.vue').default;
const Building = require('../components/building.vue').default;
const Canteen = require('../components/canteen.vue').default;
const Selfstudy = require('../components/selfstudy.vue').default;
const Difficult = require('../components/difficult.vue').default;
const Interest = require('../components/interest.vue').default;
const Bedroom = require('../components/bedroom.vue').default;
const Graduate = require('../components/graduate.vue').default;
const Getup = require('../components/getup.vue').default;
const Gotobed = require('../components/gotobed.vue').default;
const Eat = require('../components/eat.vue').default;
const Amuse = require('../components/amuse.vue').default;
const Single = require('../components/single.vue').default;
const Chat = require('../components/chat.vue').default;
const Onlyme = require('../components/onlyme.vue').default;
const HelloWorld = require('../components/HelloWorld.vue').default;
const HelloMap = require('../components/hellomap.vue').default;

export default new Router({
  routes: [
  { path: '/', redirect: '/wordcloud' },
  { path: '/wordcloud', component: Worldcloud },
  { path: '/building', component: Building },
  { path: '/canteen', component: Canteen },
  { path: '/selfstudy', component: Selfstudy },
  { path: '/difficult', component: Difficult },
  { path: '/interest', component: Interest },
  { path: '/bedroom', component: Bedroom },
  { path: '/graduate', component: Graduate },
  { path: '/getup', component: Getup },
  { path: '/gotobed', component: Gotobed },
  { path: '/eat', component: Eat },
  { path: '/amuse', component: Amuse },
  { path: '/single', component: Single },
  { path: '/chat', component: Chat },
  { path: '/onlyme', component: Onlyme },
  { path: '/helloworld', component: HelloWorld },
   { path: '/hellomap', component: HelloMap }
]
})
